efa inventory device lldp list

Lists the LLDP (Link Layer Discovery Protocol) neighbors for a device.

Syntax

efa inventory device lldp list [--ip device-ip | --type { all | edge | fabric } ]

Parameters

--ip device-ip
Specifies a comma-separated range of device IP addresses. For example: 10.1.1.13,10.1.1.50,10.1.1.101.
--type { all | edge | fabric }
Specifies the type of neighbors to show in the list. The default is all.

Examples

This example returns LLDP neighbors of type fabric. This example shows a portion of all possible output.
efa inventory device lldp list --ip 10.20.246.1 --type fabric 
+-------------+-----------------+----------------+------------------+----------------------+ 
|  DeviceIP   | Local Interface | Local Int MAC  | Remote Interface | Remote Interface MAC | 
+-------------+-----------------+----------------+------------------+----------------------+ 
| 10.20.246.1 | Ethernet 0/13   | f46e.95a2.b813 | Ethernet 0/13    | f46e.95a0.c813       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/14   | f46e.95a2.b814 | Ethernet 0/14    | f46e.95a0.c815       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/15   | f46e.95a2.b815 | Ethernet 0/15    | f46e.95a0.c815       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/31   | f46e.95a2.b825 | Ethernet 0/3     | 489b.d57f.f009       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/32   | f46e.95a2.b826 | Ethernet 0/3     | 489b.d57f.6809       | 
+-------------+-----------------+----------------+------------------+----------------------+
This example returns LLDP neighbors of type edge. This example shows a portion of all possible output.
efa inventory device lldp list --ip 10.20.246.1 --type edge 
+-------------+-----------------+----------------+------------------+----------------------+ 
|  DeviceIP   | Local Interface | Local Int MAC  | Remote Interface | Remote Interface MAC | 
+-------------+-----------------+----------------+------------------+----------------------+ 
| 10.20.246.1 | Ethernet 0/1    | f46e.95a2.b807 | Ethernet 0/1     | 609c.9f87.0a05       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/2    | f46e.95a2.b808 | Ethernet 0/2     | 609c.9f87.0a06       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/4    | f46e.95a2.b80a | Ethernet 0/4     | 609c.9f87.0c08       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/5    | f46e.95a2.b80b | Ethernet 0/5     | 609c.9fcd.f309       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/24   | f46e.95a2.b81e | Ethernet 0/53    | f46e.959f.1744       | 
+-------------+-----------------+----------------+------------------+----------------------+ 
This example returns all LLDP neighbors. This example shows a portion of all possible output.
efa inventory device lldp list --ip 10.20.246.1 --type all 
+-------------+-----------------+----------------+------------------+----------------------+ 
|  DeviceIP   | Local Interface | Local Int MAC  | Remote Interface | Remote Interface MAC | 
+-------------+-----------------+----------------+------------------+----------------------+ 
| 10.20.246.1 | Ethernet 0/1    | f46e.95a2.b807 | Ethernet 0/1     | 609c.9f87.0a05       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/2    | f46e.95a2.b808 | Ethernet 0/2     | 609c.9f87.0a06       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/4    | f46e.95a2.b80a | Ethernet 0/4     | 609c.9f87.0c08       |
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/5    | f46e.95a2.b80b | Ethernet 0/5     | 609c.9fcd.f309       | 
+             +-----------------+----------------+------------------+----------------------+ 
|             | Ethernet 0/6    | f46e.95a2.b80c | Ethernet 0/6     | 609c.9fcd.f30a       | 
+             +-----------------+----------------+------------------+----------------------+